package com.htthorizon.model.request;

import com.htthorizon.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author Brilliant
 */
@Data
@Valid
    public class ModelMessageSearchReq extends BaseEntity {

    @ApiModelProperty(value = "1:我的 2：所有",required = true)
    @NotNull
    private Integer type;

    private String messageId;

    private String createBy;

    private Integer questionType;

    private Integer questionStatus;

    private String questionTitle;

    private Integer pageNum;

    private Integer pageSize;
}
